<%@ Register TagPrefix="uc1" TagName="Footer" Src="../Controls/Footer.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="../Controls/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="ReportFunctionsLinkCtrl" Src="../Controls/ReportFunctionsLinkCtrl.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="ProfitabilityReport.aspx.vb" Inherits="MIMS_WRS.Web.ProfitabilityReport"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>Profitability Report</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../style.css" type="text/css" rel="stylesheet">
		<script language="javascript" src="../Js/common.js"></script>
		<script language="JavaScript" src="../js/function.js" type="text/JavaScript"></script>
	</HEAD>
	<body leftMargin="0" topMargin="0" onload="MM_preloadImages('../images/b_weeklyreporto.gif','../images/b_historyreporto.gif','../images/b_usero.gif')"
		marginheight="0" marginwidth="0">
		<form id="Form1" method="post" runat="server">
			<table cellSpacing="0" cellPadding="0" width="100%" border="0">
				<uc1:header id="Header1" runat="server"></uc1:header>
				<!-- Submenu: start -->
				<tr>
					<td>
						<table id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td class="bgsubmenu" align="center" height="30">
									<table cellSpacing="0" cellPadding="0" width="96%" border="0">
										<tr>
											<td width="98%">
												<p><span class="txtsmall"><strong>You are here:</strong></span> <span class="txtcolor2">
														<A href="Reports.aspx">Customer report list</A> / Profitability Report </span>
												</p>
											</td>
											<td class="txtcolor2" noWrap align="right" width="70"><span class="plink"><A href="javascript:history.back()"><IMG height="16" hspace="2" src="../images/b_back.gif" width="57" vspace="0" border="0"></A></span></td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td class="bglinetop1" height="1"><IMG height="1" src="../images/1pxl.gif" width="1"></td>
							</tr>
							<!-- Submenu: end -->
							<!-- DataTable : start -->
							<tr>
								<td class="bgwhite" align="center">
									<table cellSpacing="0" cellPadding="0" width="96%" border="0">
										<tr>
											<td>
												<table cellSpacing="0" cellPadding="0" width="100%" border="0">
													<tr vAlign="bottom">
														<td height="25"><span class="title"><strong>PROFITABILITY REPORT</strong></span></td>
														<td align="right">
															<div class="plink">
																<div class="plink"><strong><span class="txtsmall"><uc1:reportfunctionslinkctrl id="rflc" runat="server"></uc1:reportfunctionslinkctrl></span></strong></div>
															</div>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td height="5"><IMG height="1" src="../images/1pxl.gif" width="1"></td>
										</tr>
										<tr>
											<td class="line" height="1"><IMG height="2" src="../images/1pxl.gif" width="1"></td>
										</tr>
										<tr>
											<td class="bgtitle" align="right" height="25">
												<table cellSpacing="0" cellPadding="0" width="100%" border="0">
													<tr>
														<td>
															<table cellSpacing="0" cellPadding="1" border="0">
																<tr>
																	<td><span class="title"><strong></strong></span><span class="txtnormal"><strong><strong>Customer:</strong></strong></span><span class="txtcolor2"><strong><strong>
																					<asp:label id="lblCustomerName" runat="server"></asp:label></strong></strong></span></td>
																	<td>&nbsp;</td>
																	<td><span class="txtnormal"><strong>Supplier:</strong></span></td>
																	<td><asp:dropdownlist id="ddlSupplier" runat="server" AutoPostBack="True" CssClass="txtnormal"></asp:dropdownlist></td>
																</tr>
															</table>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td vAlign="top">
												<table class="border" cellSpacing="0" cellPadding="0" width="100%" border="0">
													<tr>
														<td vAlign="top"><asp:literal id="litReport" runat="server"></asp:literal></td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td class="txtnormal">&nbsp;</td>
										</tr>
										<tr>
											<td class="txtnormal" height="25"><strong>Credit Notes Report</strong></td>
										</tr>
										<tr>
											<td>
												<table class="bgblue" cellSpacing="0" cellPadding="0" width="78%" border="0">
													<tr>
														<td vAlign="top"><asp:literal id="litReportForCN" runat="server"></asp:literal></td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td class="txtnormal">&nbsp;</td>
										</tr>
										<tr>
											<td class="txtnormal" height="25"><strong>GRAND TOTAL</strong></td>
										</tr>
										<tr>
											<td>
												<table class="bgblue" cellSpacing="0" cellPadding="0" width="100%" border="0">
													<tr>
														<td vAlign="top">
															<TABLE class="border" cellSpacing="1" cellPadding="3" width="100%" border="0">
																<TBODY>
																	<TR class="txtheader">
																		<TD align="center" height="25">&nbsp;</TD>
																		<TD align="center" width="100"><strong>Cost<br>
																				<em>(USD)</em></strong></TD>
																		<TD align="center" width="100"><strong>Value<br>
																				<em>(USD)</em></strong></TD>
																		<TD align="center" width="100"><strong>Margin $ <em>(USD)</em></strong></TD>
																		<TD align="center" width="100"><strong>Margin % <em></em></strong>
																		</TD>
																	</TR>
																	<TR class="bgrow1" align="center">
																		<TD class="txtcolor1" height="19">&nbsp;</TD>
																		<TD class="txtcolor1" align="right" width="100"><strong>
																				<asp:Label id="lblGrandTotalCost" runat="server">N/A</asp:Label></strong></TD>
																		<TD class="txtcolor1" align="right" width="100"><strong>
																				<asp:Label id="lblGrandTotalValue" runat="server">N/A</asp:Label></strong></TD>
																		<TD class="txtcolor1" align="right" width="100"><strong>
																				<asp:Label id="lblGrandTotalMargin" runat="server">N/A</asp:Label></strong></TD>
																		<TD class="txtcolor1" align="right" width="100"><strong>
																				<asp:Label id="lblGrandTotalMarginPercent" runat="server">N/A</asp:Label></strong></TD>
																	</TR>
																</TBODY>
															</TABLE>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td>&nbsp;</td>
										</tr>
										<tr>
											<td align="right">&nbsp;</td>
										</tr>
									</table>
								</td>
							</tr>
							<!-- end credit note-->
							<tr>
								<td align="right">&nbsp;</td>
							</tr>
						</table>
					</td>
				</tr>
				<uc1:footer id="Footer1" runat="server"></uc1:footer></table>
		</form>
	</body>
</HTML>
